#pragma once

#include <QtWidgets/QMainWindow>
#include "ui_Server.h"
#include "CzTcpserver.h"

class Server : public QMainWindow
{
    Q_OBJECT

public:
    Server(QWidget *parent = nullptr);
    ~Server();

public slots:
	void on_btn_StartListen_clicked();
	void on_btn_StopListen_clicked();

protected:
	void customEvent(QEvent* event) override;

private:
    Ui::ServerClass ui;
	CzTcpserver* tcpserver;
};
